package org.dtrd.modules.dict.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dtrd.modules.dict.entity.po.DtrdEntRdDicDistrict;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author QR
 * @since 2021-12-06
 */
@Mapper
public interface DtrdEntRdDicDistrictMapper extends BaseMapper<DtrdEntRdDicDistrict> {

    /**
     * 根据上级ID查询地区列表
     *
     * @param list
     * @return
     */
    List<DtrdEntRdDicDistrict> getDistrictList(@Param("parentIds") List<Integer> list);

}
